package com.product.android.business.login;


/**
 * 取用户信息接口
 * 
 * <br>
 * Created 2014-7-14 下午2:56:05
 * 
 * @version
 * @author youy
 * 
 * @see
 */
public interface IGetUserInfo {

    public int getId();

    public long getUapUid();

    public String getTicekt();

    public String getAccount();

    public String getBlowFish();

    public long getOapUid();

    public int getOapUnitId();

    public String getPwdTime();

    public String getBindUapAccount();

    public String getLastLoginTime();

    public boolean isOrgAdmin();

    public int getType();

    public boolean isAutoLogin();

    public boolean isSavePwd();

    public boolean isCurrentUser();

    public int getLoginType();

    public BindUser getBindUser();

    public String getSid();

    public String getNickName();

    public void clearSid();

    public void updateSid(String sid);

    public void reLoadUserFromDb();
    
    public boolean updateBindUserToDb();

    public String getEtrasValue(int id, String keyName);

    public void putEtrasValue(int id, String keyName, String value);
}
